package com.yunji.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

;import java.io.Serializable;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.product.domain
 * @Title: ProductAttr
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-14 11:00:08      V1.0        HuaAo       新建类
 */
@EqualsAndHashCode(callSuper = true)
@TableName("v3_attr_table")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AttrDO extends BaseDelFlagDO implements Serializable {

    private static final long serialVersionUID = -2159171789324511331L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("属性ID")
    @Excel(name = "属性ID", width = 15)
    private Long attrId;

    @ApiModelProperty("属性名")
    @Excel(name = "属性名", width = 15)
    private String attrName;

    @ApiModelProperty("排序")
    @Excel(name = "排序", width = 15)
    private Integer sort;

}